A detector of particles and ionizing radiation which uses a photomultiplier to generate flashes of light